﻿using System.Collections.Generic;
namespace SocketServer.Model
{
    /// <summary>
    /// 方法帮助类
    /// </summary>
    public class MethodHelper
    {
        /// <summary>
        /// 方法
        /// </summary>
        public System.Reflection.MethodInfo Method { get; set; }

        /// <summary>
        /// 方法参数
        /// </summary>
        public System.Reflection.ParameterInfo[] Parameters { get; set; }

        /// <summary>
        /// 权限过滤器
        /// </summary>
        /// <remarks>
        /// 给类添加会有上述效果
        /// 假如不想实现则在实现get时返回null
        /// </remarks>
        public List<SocketAttribute.WebSocketFilterAttribute> FilterList { get; set; }
    }
}
